//从这之后改用cmake了，这个是用c++实现栈数据结构
//这里使用的是顺序栈
#include<iostream>
#include"stack.hpp"

int main()
{
   SequenceStack* stack1=new SequenceStack(3);
   ListData a;
   a.init();
   stack1->Push(a);
   stack1->GetLength();
   std::cout<<"lala\n"<<stack1->IfEmpty()<<'\n';
   stack1->GetTop().show();
   stack1->Push(a);
   stack1->Pop();
   delete stack1;
   return 0;
}